package com.ruoyi.sys.personnel.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author JinSuo
 * @version 1.0
 * @description: TODO
 * @throws
 * @date 17:20
 */
@Data
@TableName("tb_user")
public class User {
    @TableId(value = "u_id",type = IdType.AUTO)
    private Integer uId;
    @TableField("u_name")
    private String uName;
    @TableField("u_age")
    private Integer uAge;
    @TableField("u_sex")
    private Integer uSex;
    @TableField("u_solt")
    private String uSolt;
    @TableField("u_password")
    private String uPassword;
    @TableField("u_nickName")
    private String uNickName;
    @TableField("u_role_id")
    private Integer uRoleID;
    @TableField("mo_id")
    private String moId;
    @TableField("u_department")
    private String uDepartment;
    @TableField("u_certificate")
    private String uCertificate;
    @TableField("u_num")
    private String uNum;
    @TableField("u_phone")
    private String uPhone;
    @TableField("u_face")
    private String uFace;
    private UserRole UserRole;
    private Role Role;
}
